<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>商机自动化测试报告</title>
    <meta name="generator" content="HTMLTestRunner 1.2.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
    <script src="https://img.hcharts.cn/highcharts/highcharts.js"></script>
    <script src="https://img.hcharts.cn/highcharts/modules/exporting.js"></script>
    
<style type="text/css" media="screen">
body        { font-family: Microsoft YaHei;padding: 20px; font-size: 100%; }
table       { font-size: 100%; }
.table tbody tr td{
            vertical-align: middle;
        }
/* -- heading ---------------------------------------------------------------------- */
.heading .description, .attribute {
    clear: both;
}
/* --- 失败和错误合集样式 --  --- */
.failCollection, .errorCollection {
    width: 100px;
    float: left;
}
#failCaseOl li {
    color: red
}
#errorCaseOl li {
    color: orange
}
/* --- 打开截图特效样式 --  --- */
.data-img{
    cursor:pointer
}
.pic_looper{
    width:100%;
    height:100%;
    position: fixed;
    left: 0;
    top:0;
    opacity: 0.6;
    background: #000;
    display: none;
    z-index: 100;
}
.pic_show{
    width:100%;
    position:fixed;
    left:0;
    top:0;
    right:0;
    bottom:0;
    margin:auto;
    text-align: center;
    display: none;
    z-index: 100;
}
.pic_box{
    padding:10px;
    width:90%;
    height:90%;
    margin:40px auto;
    text-align: center;
    overflow: hidden;
}
.pic_box img{
    width: auto;
    height: 100%;
    -moz-box-shadow: 0px 0px 20px 0px #000;
    -webkit-box-shadow: 0px 0px 20px 0px #000;
    box-shadow: 0px 0px 20px 0px #000;
}
/* --- 饼状图div样式 --  --- */
#container {
    width: 450px;
    height: 300px;
    float: left;
}
/* -- report ------------------------------------------------------------------------ */
#total_row  { font-weight: bold; }
.passCase   { color: #5cb85c; }
.failCase   { color: #d9534f; font-weight: bold; }
.errorCase  { color: #f0ad4e; font-weight: bold; }
.hiddenRow  { display: none; }
.testcase   { margin-left: 2em; }
.screenshot:link { text-decoration: none;color: deeppink; }
.screenshot:visited { text-decoration: none;color: deeppink; }
.screenshot:hover { text-decoration: none;color: darkcyan; }
.screenshot:active { text-decoration: none;color: deeppink; }
</style>

</head>
<body >
<script language="javascript" type="text/javascript">
    $(function(){
        // 修改 失败 和 错误 用例里对应按钮的颜色ClassName为动态加载 -- 
    	$("button").each(function () {
    	    var text = $(this).text();
    	    if(text == "失败"){
    	        $(this).addClass("btn-danger")
            }else if(text == "错误") {
                $(this).addClass("btn-warning")
            }
        });
        // 给失败和错误合集加样式 -- 
        var p_attribute = $("p.attribute");
        p_attribute.eq(4).addClass("failCollection");
        p_attribute.eq(5).addClass("errorCollection");
        // 打开截图，放大，点击任何位置可以关闭图片  -- 
        $(".screenshot").click(function(){
            var img = $(this).attr("img");
            $('.pic_show img').attr('src', img);
            $('.pic_looper').fadeIn(200);
            $('.pic_show').fadeIn(200);
            var browserHeight = $(window).height();
            var pic_boxHeight = $(".pic_box").height();
            var top = (browserHeight - pic_boxHeight)/2;
            $('.pic_box').css("margin-top", top + "px")
        });
        $('.pic_looper, .pic_show').click(function(){
            $('.pic_looper').fadeOut(200);
            $('.pic_show').fadeOut(200)
        });

        var browserWidth = $(window).width();
        var margin_left = browserWidth/2 - 450;
        if(margin_left <= 240){
            $("#container").css("margin", "auto");
        }else {
            $("#container").css("margin-left", margin_left + "px");
        }
        $(window).resize(function(){
            // 改变窗口大小时，自动改变图片与顶部的距离  -- 
            var browserHeight = $(window).height();
            var pic_boxHeight = $(".pic_box").height();
            var top = (browserHeight - pic_boxHeight)/2;
            $('.pic_box').css("margin-top", top + "px");
            // 改变窗口大小时，自动改变饼图的边距  -- 
            var browserWidth = $(window).width();
            var margin_left = browserWidth/2 - 450;
            if(margin_left <= 240){
                $("#container").css("margin", "auto");
            }else {
                $("#container").css("margin-left", margin_left + "px");
            }
        });
        // 距离顶部超过浏览器窗口一屏时，回到顶部按钮才出现  -- 
        $(window).scroll(function(){
            var browserHeight = $(window).height();
            var top = $(window).scrollTop();
            if(top >= browserHeight){
                $("#toTop").css("display", "block")
            }else {
                $("#toTop").css("display", "none")
            }
        })

        // 增加回到顶部过程的动画，以看上去不会那么生硬  -- 
        $("#toTop").click(function() {
            $("html,body").animate({"scrollTop":0}, 700)
        })

        // 增加饼状图  -- 
        $('#container').highcharts({
            chart: {
                plotBackgroundColor: null,
                plotBorderWidth: null,
                plotShadow: false,
                spacing : [0, 0, 0, 0]
            },
            credits: {
                enabled: false
            },
            navigation: {
                buttonOptions: {
                    enabled: false
                }
            },
            title: {
                floating:true,
                text: '测试结果占比'
            },
            tooltip: {
                pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'
            },
            plotOptions: {
                pie: {
                    allowPointSelect: true,
                    cursor: 'pointer',
                    colors: ['#81ca9d', '#f16d7e', '#fdc68c'],
                    dataLabels: {
                        enabled: true,
                        format: '<b>{point.name}</b>: {point.percentage:.1f} %',
                        style: {
                            color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black'
                        }
                    },
                    point: {
                        events: {
                            mouseOver: function(e) {  // 鼠标滑过时动态更新标题
                                chart.setTitle({
                                    text: e.target.name+ '\t'+ e.target.y + ' 个'
                                });
                            }
                        }
                    }
                }
            },
            series: [{
                type: 'pie',
                innerSize: '80%',
                name: '比例',
                data: [
                    ['通过', 0],
                    {
                        name: '失败',
                        y: 0,
                        sliced: true,
                        selected: true
                    },
                    ['错误', 5]
                ]
            }]
        }, function(c) {
            // 环形图圆心
            var centerY = c.series[0].center[1],
                titleHeight = parseInt(c.title.styles.fontSize);
            c.setTitle({
                y:centerY + titleHeight/2
            });
            chart = c;
        });

        // 查看 失败 和 错误 合集链接文字切换  -- 
        $(".showDetail").click(function () {
            if($(this).html() == "点击查看"){
                $(this).html("点击收起")
            }else {
                $(this).html("点击查看")
            }
        })
    });


output_list = Array();
/*level 调整增加只显示通过用例的分类 --Findyou / 修复筛选显示bug -
0:Summary //all hiddenRow
1:Failed  //pt&et hiddenRow, ft none
2:Pass    //pt none, ft&et hiddenRow
3:Error   //pt&ft hiddenRow, et none
4:All     //all none
*/
function showCase(level) {
    trs = document.getElementsByTagName("tr");
    for (var i = 0; i < trs.length; i++) {
        tr = trs[i];
        id = tr.id;
        if (id.substr(0,2) == 'ft') {
            if (level == 2 || level == 0 || level == 3) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
                // 切换筛选时只显示预览   -- 
                $("div[id^='div_ft']").attr("class", "collapse");
                $("div[id^='div_et']").attr("class", "collapse");
            }
        }
        if (id.substr(0,2) == 'pt') {
            if (level == 1 || level == 0 || level == 3) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
                // 切换筛选时只显示预览   -- 
                $("div[id^='div_ft']").attr("class", "collapse");
                $("div[id^='div_et']").attr("class", "collapse");
            }
        }
        if (id.substr(0,2) == 'et') {
            if (level == 1 || level == 0 || level == 2) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
                // 切换筛选时只显示预览   -- 
                $("div[id^='div_ft']").attr("class", "collapse");
                $("div[id^='div_et']").attr("class", "collapse");
            }
        }
    }
    //加入【详细】切换文字变化 --Findyou
    detail_class=document.getElementsByClassName('detail');
	//console.log(detail_class.length)
	if (level == 3) {
		for (var i = 0; i < detail_class.length; i++){
			detail_class[i].innerHTML="收起"
		}
	}
	else{
			for (var i = 0; i < detail_class.length; i++){
			detail_class[i].innerHTML="详细"
		}
	}
}
function showClassDetail(cid, count) {
    var id_list = Array(count);
    var toHide = 1;
    for (var i = 0; i < count; i++) {
        //ID修改 点 为 下划线 -Findyou
        tid0 = 't' + cid.substr(1) + '_' + (i+1);
        tid = 'f' + tid0;
        tr = document.getElementById(tid);
        if (!tr) {
            tid = 'p' + tid0;
            tr = document.getElementById(tid);
            if (!tr) {
                tid = 'e' + tid0;
                tr = document.getElementById(tid);
            }
        }
        id_list[i] = tid;
        if (tr.className) {
            toHide = 0;
        }
    }
    for (var i = 0; i < count; i++) {
        tid = id_list[i];
        //修改点击无法收起的BUG，加入【详细】切换文字变化 --Findyou
        if (toHide) {
            document.getElementById(tid).className = 'hiddenRow';
            document.getElementById(cid).innerText = "详细"
        }
        else {
            document.getElementById(tid).className = '';
            document.getElementById(cid).innerText = "收起"
        }
    }
}
function html_escape(s) {
    s = s.replace(/&/g,'&amp;');
    s = s.replace(/</g,'&lt;');
    s = s.replace(/>/g,'&gt;');
    return s;
}
</script>
<div class='pic_looper'></div> <div class='pic_show'><div class='pic_box'><img src=''/></div> </div>
<div class='heading'>
<div style="width: 650px; float: left;">
    <h1 style="font-family: Microsoft YaHei">商机自动化测试报告</h1>
    <p class='attribute'><strong>测试人员 : </strong> whw</p>
<p class='attribute'><strong>开始时间 : </strong> 2021-11-12 11:37:55</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:36.361190</p>
<p class='attribute'><strong>测试结果 : </strong> 共 5，错误 5，通过率 = 0.00%</p>
<p class='attribute'><strong>失败用例合集 : </strong> <ol style='float: left;'>无</ol></p>
<p class='attribute'><strong>错误用例合集 : </strong> <div class='panel-default' style='float: left;'><a class='showDetail' data-toggle='collapse' href='#errorCaseOl' style='text-decoration: none;'>点击查看</a></div><ol id='errorCaseOl' class='collapse' style='float: left;'><li>test_login (TesterLogin.TesterLogin)</li><li>test_login01 (TesterLogin.TesterLogin)</li><li>test_login02 (TesterLogin.TesterLogin)</li><li>test_21 (TesterPCG21.TesterPCG21)</li><li>test_41 (TesterPCG41.TesterPCG41)</li></ol></p>

    <p class='description'>whw</p>
</div>
<div id="container"></div>
</div>


<div style="width: 500px; clear: both;">
<p id='show_detail_line'>
<a class="btn btn-primary" href='javascript:showCase(0)'>概要{ 0.00% }</a>
<a class="btn btn-success" href='javascript:showCase(2)'>通过{ 0 }</a>
<a class="btn btn-danger" href='javascript:showCase(1)'>失败{ 0 }</a>
<a class="btn btn-warning" href='javascript:showCase(3)'>错误{ 5 }</a>
<a class="btn btn-info" href='javascript:showCase(4)'>所有{ 5 }</a>
</p>
</div>
<table id='result_table' class="table table-condensed table-bordered table-hover">
<colgroup>
<col align='left' style="width: 300px;"/>
<col align='right' style="width: 300px;"/>
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' style="width: 200px;"/>
</colgroup>
<tr id='header_row' class="text-center success" style="font-weight: bold;font-size: 14px;">
    <td>用例集/测试用例</td>
    <td>说明</td>
    <td>总计</td>
    <td>通过</td>
    <td>失败</td>
    <td>错误</td>
    <td>耗时</td>
    <td>详细</td>
</tr>

<tr class='errorClass warning'>
    <td>TesterLogin</td>
    <td></td>
    <td class="text-center">3</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">3</td>
    <td class="text-center">22.04秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c1',3)" class="detail" id='c1'>详细</a></td>
</tr>

    <tr id='et1_1' class='none'>
        <td class='errorCase' style="vertical-align: middle"><div class='testcase'>test_login</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_et1_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_et1_1'>错误</button>
        <div id='div_et1_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 --  -->
        <button id='btn_et1_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_et1_1'>错误</button>
        <div id='div_et1_1' class="collapse in">
        <pre style="text-align:left">
        
et1_1: 2021-11-12 11:38:00,566-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:57123/session/366bd288f905b6c4528612b898c879d0/element {"using": "css selector", "value": "[id=\"userid\"]"}
2021-11-12 11:38:00,613-urllib3.connectionpool-DEBUG-http://127.0.0.1:57123 "POST /session/366bd288f905b6c4528612b898c879d0/element HTTP/1.1" 200 88
2021-11-12 11:38:00,614-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:00,614-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:57123/session/366bd288f905b6c4528612b898c879d0/element/c1534389-df86-4cee-acdb-f0ab741656b7/value {"text": "wanghw22_N", "value": ["w", "a", "n", "g", "h", "w", "2", "2", "_", "N"], "id": "c1534389-df86-4cee-acdb-f0ab741656b7"}
2021-11-12 11:38:00,710-urllib3.connectionpool-DEBUG-http://127.0.0.1:57123 "POST /session/366bd288f905b6c4528612b898c879d0/element/c1534389-df86-4cee-acdb-f0ab741656b7/value HTTP/1.1" 200 14
2021-11-12 11:38:00,710-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:00,710-main_process.TaskPublic-INFO-输入用户名成功
2021-11-12 11:38:00,711-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:57123/session/366bd288f905b6c4528612b898c879d0/element {"using": "css selector", "value": "[id=\"passwordPS\"]"}
2021-11-12 11:38:00,729-urllib3.connectionpool-DEBUG-http://127.0.0.1:57123 "POST /session/366bd288f905b6c4528612b898c879d0/element HTTP/1.1" 200 88
2021-11-12 11:38:00,730-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:00,730-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:57123/session/366bd288f905b6c4528612b898c879d0/element/e5a8464f-0131-4c34-b82b-29dd025f2992/value {"text": "WHW22", "value": ["W", "H", "W", "2", "2"], "id": "e5a8464f-0131-4c34-b82b-29dd025f2992"}
2021-11-12 11:38:00,859-urllib3.connectionpool-DEBUG-http://127.0.0.1:57123 "POST /session/366bd288f905b6c4528612b898c879d0/element/e5a8464f-0131-4c34-b82b-29dd025f2992/value HTTP/1.1" 200 14
2021-11-12 11:38:00,859-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:00,859-main_process.TaskPublic-INFO-输入密码成功
2021-11-12 11:38:00,859-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:57123/session/366bd288f905b6c4528612b898c879d0/element {"using": "css selector", "value": "#rblIsDomainUser &gt; label:nth-child(4)"}
2021-11-12 11:38:00,892-urllib3.connectionpool-DEBUG-http://127.0.0.1:57123 "POST /session/366bd288f905b6c4528612b898c879d0/element HTTP/1.1" 200 88
2021-11-12 11:38:00,892-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:00,892-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:57123/session/366bd288f905b6c4528612b898c879d0/element/6cf4ea25-7eba-43da-8cd1-ecf351130e32/click {"id": "6cf4ea25-7eba-43da-8cd1-ecf351130e32"}
2021-11-12 11:38:00,957-urllib3.connectionpool-DEBUG-http://127.0.0.1:57123 "POST /session/366bd288f905b6c4528612b898c879d0/element/6cf4ea25-7eba-43da-8cd1-ecf351130e32/click HTTP/1.1" 200 14
2021-11-12 11:38:00,958-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:00,958-main_process.TaskPublic-INFO-选择普通用户成功
2021-11-12 11:38:00,958-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:57123/session/366bd288f905b6c4528612b898c879d0/element {"using": "css selector", "value": "[id=\"loginBtn\"]"}
2021-11-12 11:38:00,975-urllib3.connectionpool-DEBUG-http://127.0.0.1:57123 "POST /session/366bd288f905b6c4528612b898c879d0/element HTTP/1.1" 200 88
2021-11-12 11:38:00,976-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:00,976-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:57123/session/366bd288f905b6c4528612b898c879d0/element/0d19d8f8-0539-4923-8f7e-a838ae3af9e7/click {"id": "0d19d8f8-0539-4923-8f7e-a838ae3af9e7"}
2021-11-12 11:38:01,027-urllib3.connectionpool-DEBUG-http://127.0.0.1:57123 "POST /session/366bd288f905b6c4528612b898c879d0/element/0d19d8f8-0539-4923-8f7e-a838ae3af9e7/click HTTP/1.1" 200 14
2021-11-12 11:38:01,027-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:01,027-main_process.TaskPublic-INFO-定位第一个登陆
2021-11-12 11:38:01,028-selenium.webdriver.remote.remote_connection-DEBUG-DELETE http://127.0.0.1:57123/session/366bd288f905b6c4528612b898c879d0/window {}
2021-11-12 11:38:01,191-urllib3.connectionpool-DEBUG-http://127.0.0.1:57123 "DELETE /session/366bd288f905b6c4528612b898c879d0/window HTTP/1.1" 200 12
2021-11-12 11:38:01,191-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:01,191-selenium.webdriver.remote.remote_connection-DEBUG-DELETE http://127.0.0.1:57123/session/366bd288f905b6c4528612b898c879d0 {}
2021-11-12 11:38:01,370-urllib3.connectionpool-DEBUG-http://127.0.0.1:57123 "DELETE /session/366bd288f905b6c4528612b898c879d0 HTTP/1.1" 200 14
2021-11-12 11:38:01,371-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
Traceback (most recent call last):
  File "D:\commercial_opportunity_zhu\testcase\TesterLogin.py", line 28, in test_login
    self.change_user()
  File "D:\commercial_opportunity_zhu\PubilcTask\Common\LoginChangeUser.py", line 69, in change_user
    CommonBusiness.Change_frame_head(self.b)
  File "D:\commercial_opportunity_zhu\PubilcTask\Common\CommonBusiness.py", line 32, in Change_frame_head
    self.b.switch_to.default_content()
AttributeError: 'WebDriver' object has no attribute 'b'


        </pre>
        </div>
        </td>
        <td class='errorCase' style="vertical-align: middle"></td>
    </tr>
    
    <tr id='et1_2' class='none'>
        <td class='errorCase' style="vertical-align: middle"><div class='testcase'>test_login01</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_et1_2' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_et1_2'>错误</button>
        <div id='div_et1_2' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 --  -->
        <button id='btn_et1_2' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_et1_2'>错误</button>
        <div id='div_et1_2' class="collapse in">
        <pre style="text-align:left">
        
et1_2: 2021-11-12 11:38:04,840-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:59901/session {"capabilities": {"firstMatch": [{}], "alwaysMatch": {"browserName": "chrome", "platformName": "any", "goog:chromeOptions": {"extensions": [], "args": []}}}, "desiredCapabilities": {"browserName": "chrome", "version": "", "platform": "ANY", "goog:chromeOptions": {"extensions": [], "args": []}}}
2021-11-12 11:38:04,841-urllib3.connectionpool-DEBUG-Starting new HTTP connection (1): 127.0.0.1:59901
2021-11-12 11:38:06,987-urllib3.connectionpool-DEBUG-http://127.0.0.1:59901 "POST /session HTTP/1.1" 200 788
2021-11-12 11:38:06,988-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:06,988-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:59901/session/79cf7205d492a6870c802e279bce6652/url {"url": "http://10.122.49.215/Logon.aspx"}
2021-11-12 11:38:07,486-urllib3.connectionpool-DEBUG-http://127.0.0.1:59901 "POST /session/79cf7205d492a6870c802e279bce6652/url HTTP/1.1" 200 14
2021-11-12 11:38:07,487-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:07,487-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:59901/session/79cf7205d492a6870c802e279bce6652/window/maximize {}
2021-11-12 11:38:07,649-urllib3.connectionpool-DEBUG-http://127.0.0.1:59901 "POST /session/79cf7205d492a6870c802e279bce6652/window/maximize HTTP/1.1" 200 51
2021-11-12 11:38:07,650-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:07,650-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:59901/session/79cf7205d492a6870c802e279bce6652/timeouts {"implicit": 10000}
2021-11-12 11:38:07,653-urllib3.connectionpool-DEBUG-http://127.0.0.1:59901 "POST /session/79cf7205d492a6870c802e279bce6652/timeouts HTTP/1.1" 200 14
2021-11-12 11:38:07,653-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:07,655-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:59901/session/79cf7205d492a6870c802e279bce6652/element {"using": "css selector", "value": "[id=\"userid\"]"}
2021-11-12 11:38:07,680-urllib3.connectionpool-DEBUG-http://127.0.0.1:59901 "POST /session/79cf7205d492a6870c802e279bce6652/element HTTP/1.1" 200 88
2021-11-12 11:38:07,681-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:07,681-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:59901/session/79cf7205d492a6870c802e279bce6652/element/fa1796e4-c6ef-4583-a8ca-c103e75b7977/value {"text": "wanghw22_N", "value": ["w", "a", "n", "g", "h", "w", "2", "2", "_", "N"], "id": "fa1796e4-c6ef-4583-a8ca-c103e75b7977"}
2021-11-12 11:38:07,788-urllib3.connectionpool-DEBUG-http://127.0.0.1:59901 "POST /session/79cf7205d492a6870c802e279bce6652/element/fa1796e4-c6ef-4583-a8ca-c103e75b7977/value HTTP/1.1" 200 14
2021-11-12 11:38:07,788-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:07,788-main_process.TaskPublic-INFO-输入用户名成功
2021-11-12 11:38:07,789-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:59901/session/79cf7205d492a6870c802e279bce6652/element {"using": "css selector", "value": "[id=\"passwordPS\"]"}
2021-11-12 11:38:07,810-urllib3.connectionpool-DEBUG-http://127.0.0.1:59901 "POST /session/79cf7205d492a6870c802e279bce6652/element HTTP/1.1" 200 88
2021-11-12 11:38:07,811-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:07,811-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:59901/session/79cf7205d492a6870c802e279bce6652/element/6e9323ac-25e4-4491-acbb-fadb962dd221/value {"text": "WHW22", "value": ["W", "H", "W", "2", "2"], "id": "6e9323ac-25e4-4491-acbb-fadb962dd221"}
2021-11-12 11:38:07,893-urllib3.connectionpool-DEBUG-http://127.0.0.1:59901 "POST /session/79cf7205d492a6870c802e279bce6652/element/6e9323ac-25e4-4491-acbb-fadb962dd221/value HTTP/1.1" 200 14
2021-11-12 11:38:07,894-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:07,894-main_process.TaskPublic-INFO-输入密码成功
2021-11-12 11:38:07,894-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:59901/session/79cf7205d492a6870c802e279bce6652/element {"using": "css selector", "value": "#rblIsDomainUser &gt; label:nth-child(4)"}
2021-11-12 11:38:07,907-urllib3.connectionpool-DEBUG-http://127.0.0.1:59901 "POST /session/79cf7205d492a6870c802e279bce6652/element HTTP/1.1" 200 88
2021-11-12 11:38:07,908-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:07,908-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:59901/session/79cf7205d492a6870c802e279bce6652/element/914ff1be-5d90-4c49-90cc-852edd832211/click {"id": "914ff1be-5d90-4c49-90cc-852edd832211"}
2021-11-12 11:38:07,948-urllib3.connectionpool-DEBUG-http://127.0.0.1:59901 "POST /session/79cf7205d492a6870c802e279bce6652/element/914ff1be-5d90-4c49-90cc-852edd832211/click HTTP/1.1" 200 14
2021-11-12 11:38:07,948-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:07,948-main_process.TaskPublic-INFO-选择普通用户成功
2021-11-12 11:38:07,948-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:59901/session/79cf7205d492a6870c802e279bce6652/element {"using": "css selector", "value": "[id=\"loginBtn\"]"}
2021-11-12 11:38:07,962-urllib3.connectionpool-DEBUG-http://127.0.0.1:59901 "POST /session/79cf7205d492a6870c802e279bce6652/element HTTP/1.1" 200 88
2021-11-12 11:38:07,962-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:07,963-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:59901/session/79cf7205d492a6870c802e279bce6652/element/facace22-1505-46b6-b604-4dbc40a79432/click {"id": "facace22-1505-46b6-b604-4dbc40a79432"}
2021-11-12 11:38:08,012-urllib3.connectionpool-DEBUG-http://127.0.0.1:59901 "POST /session/79cf7205d492a6870c802e279bce6652/element/facace22-1505-46b6-b604-4dbc40a79432/click HTTP/1.1" 200 14
2021-11-12 11:38:08,012-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:08,012-main_process.TaskPublic-INFO-定位第一个登陆
2021-11-12 11:38:08,013-selenium.webdriver.remote.remote_connection-DEBUG-DELETE http://127.0.0.1:59901/session/79cf7205d492a6870c802e279bce6652/window {}
2021-11-12 11:38:08,172-urllib3.connectionpool-DEBUG-http://127.0.0.1:59901 "DELETE /session/79cf7205d492a6870c802e279bce6652/window HTTP/1.1" 200 12
2021-11-12 11:38:08,173-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:08,173-selenium.webdriver.remote.remote_connection-DEBUG-DELETE http://127.0.0.1:59901/session/79cf7205d492a6870c802e279bce6652 {}
2021-11-12 11:38:08,312-urllib3.connectionpool-DEBUG-http://127.0.0.1:59901 "DELETE /session/79cf7205d492a6870c802e279bce6652 HTTP/1.1" 200 14
2021-11-12 11:38:08,312-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
Traceback (most recent call last):
  File "D:\commercial_opportunity_zhu\testcase\TesterLogin.py", line 41, in test_login01
    self.change_user(user=self.b.ChangeUser0)
AttributeError: 'WebDriver' object has no attribute 'ChangeUser0'


        </pre>
        </div>
        </td>
        <td class='errorCase' style="vertical-align: middle"></td>
    </tr>
    
    <tr id='et1_3' class='none'>
        <td class='errorCase' style="vertical-align: middle"><div class='testcase'>test_login02</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_et1_3' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_et1_3'>错误</button>
        <div id='div_et1_3' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 --  -->
        <button id='btn_et1_3' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_et1_3'>错误</button>
        <div id='div_et1_3' class="collapse in">
        <pre style="text-align:left">
        
et1_3: 2021-11-12 11:38:11,805-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:60698/session {"capabilities": {"firstMatch": [{}], "alwaysMatch": {"browserName": "chrome", "platformName": "any", "goog:chromeOptions": {"extensions": [], "args": []}}}, "desiredCapabilities": {"browserName": "chrome", "version": "", "platform": "ANY", "goog:chromeOptions": {"extensions": [], "args": []}}}
2021-11-12 11:38:11,806-urllib3.connectionpool-DEBUG-Starting new HTTP connection (1): 127.0.0.1:60698
2021-11-12 11:38:14,164-urllib3.connectionpool-DEBUG-http://127.0.0.1:60698 "POST /session HTTP/1.1" 200 788
2021-11-12 11:38:14,164-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:14,164-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:60698/session/06ffeb1eefd483d19ac3d3ef3b56508b/url {"url": "http://10.122.49.215/Logon.aspx"}
2021-11-12 11:38:14,788-urllib3.connectionpool-DEBUG-http://127.0.0.1:60698 "POST /session/06ffeb1eefd483d19ac3d3ef3b56508b/url HTTP/1.1" 200 14
2021-11-12 11:38:14,789-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:14,789-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:60698/session/06ffeb1eefd483d19ac3d3ef3b56508b/window/maximize {}
2021-11-12 11:38:14,975-urllib3.connectionpool-DEBUG-http://127.0.0.1:60698 "POST /session/06ffeb1eefd483d19ac3d3ef3b56508b/window/maximize HTTP/1.1" 200 51
2021-11-12 11:38:14,975-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:14,975-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:60698/session/06ffeb1eefd483d19ac3d3ef3b56508b/timeouts {"implicit": 10000}
2021-11-12 11:38:14,982-urllib3.connectionpool-DEBUG-http://127.0.0.1:60698 "POST /session/06ffeb1eefd483d19ac3d3ef3b56508b/timeouts HTTP/1.1" 200 14
2021-11-12 11:38:14,983-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:14,986-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:60698/session/06ffeb1eefd483d19ac3d3ef3b56508b/element {"using": "css selector", "value": "[id=\"userid\"]"}
2021-11-12 11:38:15,029-urllib3.connectionpool-DEBUG-http://127.0.0.1:60698 "POST /session/06ffeb1eefd483d19ac3d3ef3b56508b/element HTTP/1.1" 200 88
2021-11-12 11:38:15,030-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:15,030-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:60698/session/06ffeb1eefd483d19ac3d3ef3b56508b/element/890847ff-871b-4fd7-a710-a36b61a011f7/value {"text": "wanghw22_N", "value": ["w", "a", "n", "g", "h", "w", "2", "2", "_", "N"], "id": "890847ff-871b-4fd7-a710-a36b61a011f7"}
2021-11-12 11:38:15,111-urllib3.connectionpool-DEBUG-http://127.0.0.1:60698 "POST /session/06ffeb1eefd483d19ac3d3ef3b56508b/element/890847ff-871b-4fd7-a710-a36b61a011f7/value HTTP/1.1" 200 14
2021-11-12 11:38:15,112-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:15,112-main_process.TaskPublic-INFO-输入用户名成功
2021-11-12 11:38:15,113-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:60698/session/06ffeb1eefd483d19ac3d3ef3b56508b/element {"using": "css selector", "value": "[id=\"passwordPS\"]"}
2021-11-12 11:38:15,132-urllib3.connectionpool-DEBUG-http://127.0.0.1:60698 "POST /session/06ffeb1eefd483d19ac3d3ef3b56508b/element HTTP/1.1" 200 88
2021-11-12 11:38:15,132-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:15,133-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:60698/session/06ffeb1eefd483d19ac3d3ef3b56508b/element/937af0fa-f7e3-415d-b76f-4ab2cfaa68f9/value {"text": "WHW22", "value": ["W", "H", "W", "2", "2"], "id": "937af0fa-f7e3-415d-b76f-4ab2cfaa68f9"}
2021-11-12 11:38:15,227-urllib3.connectionpool-DEBUG-http://127.0.0.1:60698 "POST /session/06ffeb1eefd483d19ac3d3ef3b56508b/element/937af0fa-f7e3-415d-b76f-4ab2cfaa68f9/value HTTP/1.1" 200 14
2021-11-12 11:38:15,228-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:15,228-main_process.TaskPublic-INFO-输入密码成功
2021-11-12 11:38:15,228-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:60698/session/06ffeb1eefd483d19ac3d3ef3b56508b/element {"using": "css selector", "value": "#rblIsDomainUser &gt; label:nth-child(4)"}
2021-11-12 11:38:15,247-urllib3.connectionpool-DEBUG-http://127.0.0.1:60698 "POST /session/06ffeb1eefd483d19ac3d3ef3b56508b/element HTTP/1.1" 200 88
2021-11-12 11:38:15,247-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:15,248-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:60698/session/06ffeb1eefd483d19ac3d3ef3b56508b/element/be5c1b34-93ae-439a-a4c9-f6fd6d292f53/click {"id": "be5c1b34-93ae-439a-a4c9-f6fd6d292f53"}
2021-11-12 11:38:15,298-urllib3.connectionpool-DEBUG-http://127.0.0.1:60698 "POST /session/06ffeb1eefd483d19ac3d3ef3b56508b/element/be5c1b34-93ae-439a-a4c9-f6fd6d292f53/click HTTP/1.1" 200 14
2021-11-12 11:38:15,298-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:15,298-main_process.TaskPublic-INFO-选择普通用户成功
2021-11-12 11:38:15,298-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:60698/session/06ffeb1eefd483d19ac3d3ef3b56508b/element {"using": "css selector", "value": "[id=\"loginBtn\"]"}
2021-11-12 11:38:15,316-urllib3.connectionpool-DEBUG-http://127.0.0.1:60698 "POST /session/06ffeb1eefd483d19ac3d3ef3b56508b/element HTTP/1.1" 200 88
2021-11-12 11:38:15,316-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:15,317-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:60698/session/06ffeb1eefd483d19ac3d3ef3b56508b/element/5d77b125-5ca6-4b65-95b3-d5aac006bc0c/click {"id": "5d77b125-5ca6-4b65-95b3-d5aac006bc0c"}
2021-11-12 11:38:15,385-urllib3.connectionpool-DEBUG-http://127.0.0.1:60698 "POST /session/06ffeb1eefd483d19ac3d3ef3b56508b/element/5d77b125-5ca6-4b65-95b3-d5aac006bc0c/click HTTP/1.1" 200 14
2021-11-12 11:38:15,386-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:15,386-main_process.TaskPublic-INFO-定位第一个登陆
2021-11-12 11:38:15,387-selenium.webdriver.remote.remote_connection-DEBUG-DELETE http://127.0.0.1:60698/session/06ffeb1eefd483d19ac3d3ef3b56508b/window {}
2021-11-12 11:38:15,560-urllib3.connectionpool-DEBUG-http://127.0.0.1:60698 "DELETE /session/06ffeb1eefd483d19ac3d3ef3b56508b/window HTTP/1.1" 200 12
2021-11-12 11:38:15,560-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:15,561-selenium.webdriver.remote.remote_connection-DEBUG-DELETE http://127.0.0.1:60698/session/06ffeb1eefd483d19ac3d3ef3b56508b {}
2021-11-12 11:38:15,911-urllib3.connectionpool-DEBUG-http://127.0.0.1:60698 "DELETE /session/06ffeb1eefd483d19ac3d3ef3b56508b HTTP/1.1" 200 14
2021-11-12 11:38:15,912-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
Traceback (most recent call last):
  File "D:\commercial_opportunity_zhu\testcase\TesterLogin.py", line 54, in test_login02
    self.change_user(user=self.b.ChangeUser1)
AttributeError: 'WebDriver' object has no attribute 'ChangeUser1'


        </pre>
        </div>
        </td>
        <td class='errorCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='errorClass warning'>
    <td>TesterPCG21</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center">7.22秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c2',1)" class="detail" id='c2'>详细</a></td>
</tr>

    <tr id='et2_1' class='none'>
        <td class='errorCase' style="vertical-align: middle"><div class='testcase'>test_21</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_et2_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_et2_1'>错误</button>
        <div id='div_et2_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 --  -->
        <button id='btn_et2_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_et2_1'>错误</button>
        <div id='div_et2_1' class="collapse in">
        <pre style="text-align:left">
        
et2_1: 2021-11-12 11:38:19,508-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62278/session {"capabilities": {"firstMatch": [{}], "alwaysMatch": {"browserName": "chrome", "platformName": "any", "goog:chromeOptions": {"extensions": [], "args": []}}}, "desiredCapabilities": {"browserName": "chrome", "version": "", "platform": "ANY", "goog:chromeOptions": {"extensions": [], "args": []}}}
2021-11-12 11:38:19,508-urllib3.connectionpool-DEBUG-Starting new HTTP connection (1): 127.0.0.1:62278
2021-11-12 11:38:21,743-urllib3.connectionpool-DEBUG-http://127.0.0.1:62278 "POST /session HTTP/1.1" 200 788
2021-11-12 11:38:21,743-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:21,743-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62278/session/000f9485950f22bc1cbab7129e3e50fd/url {"url": "http://10.122.49.215/Logon.aspx"}
2021-11-12 11:38:22,220-urllib3.connectionpool-DEBUG-http://127.0.0.1:62278 "POST /session/000f9485950f22bc1cbab7129e3e50fd/url HTTP/1.1" 200 14
2021-11-12 11:38:22,220-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:22,220-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62278/session/000f9485950f22bc1cbab7129e3e50fd/window/maximize {}
2021-11-12 11:38:22,473-urllib3.connectionpool-DEBUG-http://127.0.0.1:62278 "POST /session/000f9485950f22bc1cbab7129e3e50fd/window/maximize HTTP/1.1" 200 51
2021-11-12 11:38:22,474-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:22,474-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62278/session/000f9485950f22bc1cbab7129e3e50fd/timeouts {"implicit": 10000}
2021-11-12 11:38:22,477-urllib3.connectionpool-DEBUG-http://127.0.0.1:62278 "POST /session/000f9485950f22bc1cbab7129e3e50fd/timeouts HTTP/1.1" 200 14
2021-11-12 11:38:22,477-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:22,479-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62278/session/000f9485950f22bc1cbab7129e3e50fd/element {"using": "css selector", "value": "[id=\"userid\"]"}
2021-11-12 11:38:22,521-urllib3.connectionpool-DEBUG-http://127.0.0.1:62278 "POST /session/000f9485950f22bc1cbab7129e3e50fd/element HTTP/1.1" 200 88
2021-11-12 11:38:22,522-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:22,522-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62278/session/000f9485950f22bc1cbab7129e3e50fd/element/e7d64e49-d3a5-4b10-b0d2-046a3afb5e18/value {"text": "wanghw22_N", "value": ["w", "a", "n", "g", "h", "w", "2", "2", "_", "N"], "id": "e7d64e49-d3a5-4b10-b0d2-046a3afb5e18"}
2021-11-12 11:38:22,604-urllib3.connectionpool-DEBUG-http://127.0.0.1:62278 "POST /session/000f9485950f22bc1cbab7129e3e50fd/element/e7d64e49-d3a5-4b10-b0d2-046a3afb5e18/value HTTP/1.1" 200 14
2021-11-12 11:38:22,605-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:22,605-main_process.TaskPublic-INFO-输入用户名成功
2021-11-12 11:38:22,605-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62278/session/000f9485950f22bc1cbab7129e3e50fd/element {"using": "css selector", "value": "[id=\"passwordPS\"]"}
2021-11-12 11:38:22,622-urllib3.connectionpool-DEBUG-http://127.0.0.1:62278 "POST /session/000f9485950f22bc1cbab7129e3e50fd/element HTTP/1.1" 200 88
2021-11-12 11:38:22,623-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:22,623-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62278/session/000f9485950f22bc1cbab7129e3e50fd/element/4afc92c1-59af-4546-97d0-52280821aa9e/value {"text": "WHW22", "value": ["W", "H", "W", "2", "2"], "id": "4afc92c1-59af-4546-97d0-52280821aa9e"}
2021-11-12 11:38:22,696-urllib3.connectionpool-DEBUG-http://127.0.0.1:62278 "POST /session/000f9485950f22bc1cbab7129e3e50fd/element/4afc92c1-59af-4546-97d0-52280821aa9e/value HTTP/1.1" 200 14
2021-11-12 11:38:22,696-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:22,696-main_process.TaskPublic-INFO-输入密码成功
2021-11-12 11:38:22,697-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62278/session/000f9485950f22bc1cbab7129e3e50fd/element {"using": "css selector", "value": "#rblIsDomainUser &gt; label:nth-child(4)"}
2021-11-12 11:38:22,713-urllib3.connectionpool-DEBUG-http://127.0.0.1:62278 "POST /session/000f9485950f22bc1cbab7129e3e50fd/element HTTP/1.1" 200 88
2021-11-12 11:38:22,714-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:22,714-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62278/session/000f9485950f22bc1cbab7129e3e50fd/element/c4a96c4b-bb6b-4546-b79b-84cbd2be2907/click {"id": "c4a96c4b-bb6b-4546-b79b-84cbd2be2907"}
2021-11-12 11:38:22,751-urllib3.connectionpool-DEBUG-http://127.0.0.1:62278 "POST /session/000f9485950f22bc1cbab7129e3e50fd/element/c4a96c4b-bb6b-4546-b79b-84cbd2be2907/click HTTP/1.1" 200 14
2021-11-12 11:38:22,751-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:22,752-main_process.TaskPublic-INFO-选择普通用户成功
2021-11-12 11:38:22,752-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62278/session/000f9485950f22bc1cbab7129e3e50fd/element {"using": "css selector", "value": "[id=\"loginBtn\"]"}
2021-11-12 11:38:22,766-urllib3.connectionpool-DEBUG-http://127.0.0.1:62278 "POST /session/000f9485950f22bc1cbab7129e3e50fd/element HTTP/1.1" 200 88
2021-11-12 11:38:22,766-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:22,766-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62278/session/000f9485950f22bc1cbab7129e3e50fd/element/76d978de-aceb-4813-8c5f-4b8ae00b97c2/click {"id": "76d978de-aceb-4813-8c5f-4b8ae00b97c2"}
2021-11-12 11:38:22,817-urllib3.connectionpool-DEBUG-http://127.0.0.1:62278 "POST /session/000f9485950f22bc1cbab7129e3e50fd/element/76d978de-aceb-4813-8c5f-4b8ae00b97c2/click HTTP/1.1" 200 14
2021-11-12 11:38:22,818-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:22,818-main_process.TaskPublic-INFO-定位第一个登陆
2021-11-12 11:38:22,818-selenium.webdriver.remote.remote_connection-DEBUG-DELETE http://127.0.0.1:62278/session/000f9485950f22bc1cbab7129e3e50fd/window {}
2021-11-12 11:38:22,913-urllib3.connectionpool-DEBUG-http://127.0.0.1:62278 "DELETE /session/000f9485950f22bc1cbab7129e3e50fd/window HTTP/1.1" 200 12
2021-11-12 11:38:22,914-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:22,914-selenium.webdriver.remote.remote_connection-DEBUG-DELETE http://127.0.0.1:62278/session/000f9485950f22bc1cbab7129e3e50fd {}
2021-11-12 11:38:23,122-urllib3.connectionpool-DEBUG-http://127.0.0.1:62278 "DELETE /session/000f9485950f22bc1cbab7129e3e50fd HTTP/1.1" 200 14
2021-11-12 11:38:23,123-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
Traceback (most recent call last):
  File "D:\commercial_opportunity_zhu\testcase\TesterPCG21.py", line 28, in test_21
    self.change_user()
  File "D:\commercial_opportunity_zhu\PubilcTask\Common\LoginChangeUser.py", line 69, in change_user
    CommonBusiness.Change_frame_head(self.b)
  File "D:\commercial_opportunity_zhu\PubilcTask\Common\CommonBusiness.py", line 32, in Change_frame_head
    self.b.switch_to.default_content()
AttributeError: 'WebDriver' object has no attribute 'b'


        </pre>
        </div>
        </td>
        <td class='errorCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='errorClass warning'>
    <td>TesterPCG41</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center">7.09秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c3',1)" class="detail" id='c3'>详细</a></td>
</tr>

    <tr id='et3_1' class='none'>
        <td class='errorCase' style="vertical-align: middle"><div class='testcase'>test_41</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_et3_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_et3_1'>错误</button>
        <div id='div_et3_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 --  -->
        <button id='btn_et3_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_et3_1'>错误</button>
        <div id='div_et3_1' class="collapse in">
        <pre style="text-align:left">
        
et3_1: 2021-11-12 11:38:26,624-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62761/session {"capabilities": {"firstMatch": [{}], "alwaysMatch": {"browserName": "chrome", "platformName": "any", "goog:chromeOptions": {"extensions": [], "args": []}}}, "desiredCapabilities": {"browserName": "chrome", "version": "", "platform": "ANY", "goog:chromeOptions": {"extensions": [], "args": []}}}
2021-11-12 11:38:26,626-urllib3.connectionpool-DEBUG-Starting new HTTP connection (1): 127.0.0.1:62761
2021-11-12 11:38:28,843-urllib3.connectionpool-DEBUG-http://127.0.0.1:62761 "POST /session HTTP/1.1" 200 789
2021-11-12 11:38:28,844-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:28,844-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62761/session/d6a9982fd08f5d97689bdfd1a638302d/url {"url": "http://10.122.49.215/Logon.aspx"}
2021-11-12 11:38:29,369-urllib3.connectionpool-DEBUG-http://127.0.0.1:62761 "POST /session/d6a9982fd08f5d97689bdfd1a638302d/url HTTP/1.1" 200 14
2021-11-12 11:38:29,369-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:29,370-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62761/session/d6a9982fd08f5d97689bdfd1a638302d/window/maximize {}
2021-11-12 11:38:29,580-urllib3.connectionpool-DEBUG-http://127.0.0.1:62761 "POST /session/d6a9982fd08f5d97689bdfd1a638302d/window/maximize HTTP/1.1" 200 51
2021-11-12 11:38:29,580-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:29,580-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62761/session/d6a9982fd08f5d97689bdfd1a638302d/timeouts {"implicit": 10000}
2021-11-12 11:38:29,585-urllib3.connectionpool-DEBUG-http://127.0.0.1:62761 "POST /session/d6a9982fd08f5d97689bdfd1a638302d/timeouts HTTP/1.1" 200 14
2021-11-12 11:38:29,585-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:29,586-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62761/session/d6a9982fd08f5d97689bdfd1a638302d/element {"using": "css selector", "value": "[id=\"userid\"]"}
2021-11-12 11:38:29,615-urllib3.connectionpool-DEBUG-http://127.0.0.1:62761 "POST /session/d6a9982fd08f5d97689bdfd1a638302d/element HTTP/1.1" 200 88
2021-11-12 11:38:29,616-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:29,616-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62761/session/d6a9982fd08f5d97689bdfd1a638302d/element/ce672066-0a8b-4373-8677-78ced1481962/value {"text": "wanghw22_N", "value": ["w", "a", "n", "g", "h", "w", "2", "2", "_", "N"], "id": "ce672066-0a8b-4373-8677-78ced1481962"}
2021-11-12 11:38:29,695-urllib3.connectionpool-DEBUG-http://127.0.0.1:62761 "POST /session/d6a9982fd08f5d97689bdfd1a638302d/element/ce672066-0a8b-4373-8677-78ced1481962/value HTTP/1.1" 200 14
2021-11-12 11:38:29,695-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:29,695-main_process.TaskPublic-INFO-输入用户名成功
2021-11-12 11:38:29,696-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62761/session/d6a9982fd08f5d97689bdfd1a638302d/element {"using": "css selector", "value": "[id=\"passwordPS\"]"}
2021-11-12 11:38:29,709-urllib3.connectionpool-DEBUG-http://127.0.0.1:62761 "POST /session/d6a9982fd08f5d97689bdfd1a638302d/element HTTP/1.1" 200 88
2021-11-12 11:38:29,709-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:29,709-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62761/session/d6a9982fd08f5d97689bdfd1a638302d/element/903c5065-a2b8-441f-ae3c-e6b6849c5f01/value {"text": "WHW22", "value": ["W", "H", "W", "2", "2"], "id": "903c5065-a2b8-441f-ae3c-e6b6849c5f01"}
2021-11-12 11:38:29,792-urllib3.connectionpool-DEBUG-http://127.0.0.1:62761 "POST /session/d6a9982fd08f5d97689bdfd1a638302d/element/903c5065-a2b8-441f-ae3c-e6b6849c5f01/value HTTP/1.1" 200 14
2021-11-12 11:38:29,792-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:29,792-main_process.TaskPublic-INFO-输入密码成功
2021-11-12 11:38:29,793-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62761/session/d6a9982fd08f5d97689bdfd1a638302d/element {"using": "css selector", "value": "#rblIsDomainUser &gt; label:nth-child(4)"}
2021-11-12 11:38:29,810-urllib3.connectionpool-DEBUG-http://127.0.0.1:62761 "POST /session/d6a9982fd08f5d97689bdfd1a638302d/element HTTP/1.1" 200 88
2021-11-12 11:38:29,810-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:29,810-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62761/session/d6a9982fd08f5d97689bdfd1a638302d/element/bb6dedca-02cd-4307-951c-43ebbed6d2ee/click {"id": "bb6dedca-02cd-4307-951c-43ebbed6d2ee"}
2021-11-12 11:38:29,856-urllib3.connectionpool-DEBUG-http://127.0.0.1:62761 "POST /session/d6a9982fd08f5d97689bdfd1a638302d/element/bb6dedca-02cd-4307-951c-43ebbed6d2ee/click HTTP/1.1" 200 14
2021-11-12 11:38:29,856-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:29,856-main_process.TaskPublic-INFO-选择普通用户成功
2021-11-12 11:38:29,857-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62761/session/d6a9982fd08f5d97689bdfd1a638302d/element {"using": "css selector", "value": "[id=\"loginBtn\"]"}
2021-11-12 11:38:29,874-urllib3.connectionpool-DEBUG-http://127.0.0.1:62761 "POST /session/d6a9982fd08f5d97689bdfd1a638302d/element HTTP/1.1" 200 88
2021-11-12 11:38:29,874-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:29,874-selenium.webdriver.remote.remote_connection-DEBUG-POST http://127.0.0.1:62761/session/d6a9982fd08f5d97689bdfd1a638302d/element/2402109e-3215-4801-a0fe-a4b00f59a795/click {"id": "2402109e-3215-4801-a0fe-a4b00f59a795"}
2021-11-12 11:38:29,928-urllib3.connectionpool-DEBUG-http://127.0.0.1:62761 "POST /session/d6a9982fd08f5d97689bdfd1a638302d/element/2402109e-3215-4801-a0fe-a4b00f59a795/click HTTP/1.1" 200 14
2021-11-12 11:38:29,928-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:29,929-main_process.TaskPublic-INFO-定位第一个登陆
2021-11-12 11:38:29,930-selenium.webdriver.remote.remote_connection-DEBUG-DELETE http://127.0.0.1:62761/session/d6a9982fd08f5d97689bdfd1a638302d/window {}
2021-11-12 11:38:30,080-urllib3.connectionpool-DEBUG-http://127.0.0.1:62761 "DELETE /session/d6a9982fd08f5d97689bdfd1a638302d/window HTTP/1.1" 200 12
2021-11-12 11:38:30,080-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
2021-11-12 11:38:30,080-selenium.webdriver.remote.remote_connection-DEBUG-DELETE http://127.0.0.1:62761/session/d6a9982fd08f5d97689bdfd1a638302d {}
2021-11-12 11:38:30,216-urllib3.connectionpool-DEBUG-http://127.0.0.1:62761 "DELETE /session/d6a9982fd08f5d97689bdfd1a638302d HTTP/1.1" 200 14
2021-11-12 11:38:30,216-selenium.webdriver.remote.remote_connection-DEBUG-Finished Request
Traceback (most recent call last):
  File "D:\commercial_opportunity_zhu\testcase\TesterPCG41.py", line 26, in test_41
    self.change_user()
  File "D:\commercial_opportunity_zhu\PubilcTask\Common\LoginChangeUser.py", line 69, in change_user
    CommonBusiness.Change_frame_head(self.b)
  File "D:\commercial_opportunity_zhu\PubilcTask\Common\CommonBusiness.py", line 32, in Change_frame_head
    self.b.switch_to.default_content()
AttributeError: 'WebDriver' object has no attribute 'b'


        </pre>
        </div>
        </td>
        <td class='errorCase' style="vertical-align: middle"></td>
    </tr>
    
<tr id='total_row' class="text-center active">
    <td colspan='2'>总计</td>
    <td>5</td>
    <td>0</td>
    <td>0</td>
    <td>5</td>
    <td>36.35秒</td>
    <td>通过率：0.00%</td>
</tr>
</table>

<div id='ending'>&nbsp;</div>
    <div id="toTop" style=" position:fixed;right:50px; bottom:30px; width:20px; height:20px;cursor:pointer; display: none">
    <a><span class="glyphicon glyphicon-eject" style = "font-size:30px;" aria-hidden="true">
    </span></a></div>
    
</body>
</html>
